<style>
	.card{
		padding: 20rpx 24rpx;
		background-color: #f6f6f6;
		border-radius: 10rpx;
	}
	.avatar{
		width: 160rpx;
		height: 120rpx;
		border-radius: 12rpx;
		background-color: #acdcb9;
	}
</style>

<template>
	<view class="card flex flex-column mar-b-10 w-100 box-b" @click="toDetail(item)">
		<view class="font-size-15 font-color-333 font-bold tq-text-line1">
			儿童之家名称
		</view>
	    <view class="flex align-center w-100 box-b mar-t-10">
	    	<image class="avatar" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-767674fd-0f0e-4801-90e6-bef27c2e36df/bb182b66-6a3f-4934-ab86-50dbe1cc58dc.png"></image>
			<view class="flex flex-column mar-l-10">
				<view class="">
					<text class="font-size-14 font-color-666 tq-text-line2">地址</text>
				</view>
				<view class="">
					<text class="font-size-14 font-color-666">0577-77556655</text>
				</view>
			</view>
	    </view>
	</view>
</template>

<script>
	// import uniIcons from '@/components/uni-icons/uni-icons.vue'
	export default {
		props:{
			item:{
				type:Object,
				default(){
					return {}
				}
			},
			types: {
				type:String,
				default:''
			},
			index: {
				type:Number,
				default:0
			}
		},
		data() {
			return {
				
			};
		},
		created() {
			// console.log('item',this.item.id);
		},
		methods:{
			toDetail(item) {
				uni.navigateTo({
					url:`/pages/social/chidHomeDetail?id=${item.id}`
				})
			}
		}
	}
</script>